 /**
  * ExecutionRecord：执行记录
  * @type 组件
  * @param title 标题内容
  * @param select 下拉框数据
  * @param data 表格数据
*/
import React  from 'react'
import style from './index.less'

import { Table } from 'antd'


const TableList = ({
  dataSource = [],
  columns = [],
  key = 'key',
  size = "small",
  bordered = false,
  pagination = false,
  }) =>{
    const myProps={
      dataSource,
      columns,
      key,
    }
    return (
      <Table {...myProps} />
    )
}

TableList.propTypes={
	// data
}

export default TableList
